package com.qk.dto.course;

import com.qk.dto.PageDTO;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@lombok.Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class CourseDTO extends PageDTO {
    private Integer code;
    private String msg;
    private Data data;

@lombok.Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public static class Data {
    private Integer id;
    private Integer subject;
    private String name;
    private Integer price;
    private Integer target;
    private String description;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
}
}
